home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Mac-Source 1994 July
/
Mac-Source_July_1994.iso
/
C and C++
/
Utilities
/
CommentConverter
/
READ ME FIRST!!!
< prev
Wrap
Text File
|
1993-12-20
|
3KB
|
56 lines
CommentConverter 1.0.0
======================
This is a little D&D that converts C-style comments to C++-style comments and vice
versa. Your files should remain untouched, and new files with the same names but with the
extension ". b" or ".d" (for files ".c"), ".g" or ".i" (for files ".h") will be created. To convert to
C-style simply hold down the Option Key while dropping the files.
DRAWBACKS:
I did not bother to cater for comments in parantheses, so
printf ("/*"); /* This will lead to errors!!!*/
will be converted to:
printf ("//"); /* This will lead to errors!!!
Nested Comments are not treated separately, thus
/* This comment will //look like this after conversion*/
will result in:
/* This comment will /*look like this after conversion*/*/.
To avoid this if converting to C-style comments first convert to C++-style comments
yielding //...//, which will be correctly translated to /* // */.
VERSION HISTORY:
1.0.0 (December 20, 1993) -=- initial release.
COPYRIGHT NOTICES:
CommentConverter 1.0.0 is copyright ©1993 Andreas Amoroso. It is distributed in the hope
that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
DISCLAIMER:
YOU EXPRESSLY ACKNOWLEDGE AND AGREE THAT USE OF THIS PROGRAM IS AT YOUR SOLE RISK.
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. THE
COPYRIGHT HOLDER PROVIDES THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER
EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF
THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL
NECESSARY SERVICING, REPAIR OR CORRECTION.
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL THE COPYRIGHT
HOLDER BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL
DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO
LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES
OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS).
Andreas Amoroso,
20.12.93
P.S.: PLEASE FEEL FREE TO SEND ME A POSTCARD OF YOUR HOMETOWN IF YOU LIKE COMMENTCONVERTER!
(YOU WOULD BETTER DO SO, OR YOU MIGHT GET A PIMPLE ON YOUR TONGUE!!!)
My address:
Universität Kaiserslautern
Fachbereich Elektrotechnik
z. H.: Herrn A Amoroso
Erwin-Schrödinger-Straße
67653 Kaiserslautern
GERMANY